package demoPkg;
import java.io.*;
import java.sql.Statement;

public class phoneBook {
	public void insData(){
		int insCnt = 0;
		dbConn insDBcon = new dbConn();
		Statement stmt = insDBcon.createStatement();
		insCnt = stmt.executeUpdate("INSERT INTO phone_book (name,phone)" + "VALUES('LKH','02-123-1234')");
		System.out.println(insCnt + "rows were inserted");
		stmt.close();
	}
}
